package com.park.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.park.entity.BlackList;

import java.util.List;

public interface BlackListService extends IService<BlackList> {

    //分页查询
    Page<BlackList> selectPage(int current);

    //模糊查询
    List<BlackList> getByBlackListCarId(String carId, int current);

    //模糊查询获得总数
    int getBlackListPage(String carId);

    //删除用户
    int delBlackList(int blacklistId);
}
